package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Key entity. @author MyEclipse Persistence Tools
 */

public class Key implements java.io.Serializable {

	// Fields

	private long keyId;
	private String keyDesc;
	private Set achievements = new HashSet(0);

	// Constructors

	/** default constructor */
	public Key() {
	}

	/** full constructor */
	public Key(String keyDesc, Set achievements) {
		this.keyDesc = keyDesc;
		this.achievements = achievements;
	}

	// Property accessors

	public long getKeyId() {
		return this.keyId;
	}

	public void setKeyId(long keyId) {
		this.keyId = keyId;
	}

	public String getKeyDesc() {
		return this.keyDesc;
	}

	public void setKeyDesc(String keyDesc) {
		this.keyDesc = keyDesc;
	}

	public Set getAchievements() {
		return this.achievements;
	}

	public void setAchievements(Set achievements) {
		this.achievements = achievements;
	}

}